#pragma once

#include <pjsua2.hpp>

using namespace pj;

class MyAccount : public Account
{

private:
    AccountConfig _config;

    void stringsplit(const string &str, const string &splits, vector<string> &res);

    string midstr(string oldstr, string startstr, string endstr);

public:
    MyAccount(AccountConfig config);
    
    void onIncomingCall(OnIncomingCallParam &prm) override;
};